﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GURUCORE.Framework.Core
{
    /// <summary>
    /// Use this exception with error while running, a generic error that can be assign as other Exception type.
    /// </summary>
    [System.Diagnostics.DebuggerStepThrough()]
    public class FrameworkException : GException
    {
        protected FrameworkException()
        { }

        public FrameworkException(string p_sMessage, Exception p_exInner)
            : base("GURUCORE Framework Exception: " + p_sMessage, p_exInner)
        { }

        public FrameworkException(string p_sMessage)
            : base("GURUCORE Framework Exception (raise by Developer): " + p_sMessage, null)
        { }
    }
}
